package cn.yunhe.service;

import cn.yunhe.pojo.ResultRequest;
import cn.yunhe.pojo.UserInfo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface IUserInfoService extends UserDetailsService {

    public List<UserInfo> queryAll(ResultRequest resultRequest);

    public UserInfo queryUserInfoDetail(String id);

    public void insertUserInfo(UserInfo userInfo);

    public void insertUserRoles(String userId,String[] ids);
}
